package com.huazhi.wzsnw.mapper;

import com.huazhi.wzsnw.model.ProjectTable;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProjectTableMapper {
    int deleteByPrimaryKey(String tid);

    int insert(ProjectTable record);

    int insertSelective(ProjectTable record);

    ProjectTable selectByPrimaryKey(String tid);

    int updateByPrimaryKeySelective(ProjectTable record);

    int updateByPrimaryKeyWithBLOBs(ProjectTable record);

    int updateByPrimaryKey(ProjectTable record);

    List<String> selectListTidBySearch(@Param("key") String key,@Param("proIds") List<String> proids);
    List<String> seleByProId(@Param("proIds") List<String> proIds);

    List<ProjectTable> findPagingByListTid(@Param("stringList") List<String> listTid, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);

    List<String> getTidByName(@Param("name") String name);

    List<ProjectTable> seleAll();
}